package com.zdb;

import cn.hutool.core.bean.BeanUtil;

public class Main {
    public static void main(String[] args) {
        User user = new User();
        user.setId("111");
        user.setName("zdb");
        UserVo userVo = BeanUtil.copyProperties(user, UserVo.class);
        System.out.println(userVo);
    }
}